#version 330

layout(location = 0) in vec3 in_position;
layout(location = 1) in vec3 in_normal;
layout(location = 2) in vec2 in_texcoord;

out vec3 color;
out vec2 texcoord;

uniform float blue;

uniform mat4 MVP;

void main()
{
	color = vec3(in_texcoord, blue);
	texcoord = in_texcoord;
	
	gl_Position = MVP * vec4(in_position, 1.0);
}